package string;

/**
 * String和String builder对比
 */

public class StringStringBuilderDemo {
    public static void main(String[] args) {

        StringBuilder s1=new StringBuilder("a");
        for (int i=0;i<10000000;i++){
            s1.append(i);
        }
        System.out.println("执行完毕");
    }
}
